package com.sooth.micro.page.table;

import com.dream.system.annotation.Column;
import com.dream.system.annotation.Id;
import com.dream.system.annotation.Table;
import lombok.Data;

import java.sql.Types;

/**
 * @Description: 在线页面
 * @Author: Lion Li
 * @Date: 2023-09-30 09:17:37
 */
@Data
@Table("micro_page")
public class MicroPage {


    /**
     * id
     */
    @Id
    @Column(value = "id", jdbcType = Types.BIGINT)
    private Long id;

    /**
     * 租户编号
     */
    @Column(value = "tenant_id", jdbcType = Types.VARCHAR)
    private String tenantId;

    /**
     * 页面名称
     */
    @Column(value = "page_name", jdbcType = Types.VARCHAR)
    private String pageName;

    /**
     * 页面布局
     */
    @Column(value = "layout", jdbcType = Types.VARCHAR)
    private String layout;

    /**
     * 应用id
     */
    @Column(value = "app_id", jdbcType = Types.BIGINT)
    private Long appId;

    /**
     * 页面数据
     */
    @Column(value = "page_json", jdbcType = Types.VARCHAR)
    private String pageJson;

    /**
     * 显示顺序
     */
    @Column(value = "order_num", jdbcType = Types.INTEGER)
    private Integer orderNum;

}
